﻿using Zy.Shared.Rpc;
using Zy.Shared.Rpc.GrpcBase;

namespace Zy.User.Services.GrpcService
{
    public class HelloService(ILogger<HelloService> logger) : Hello.HelloBase, IGrpcBaseServerService
    {
        public override Task<HelloReply> PublicSayHello(HelloRequest request, ServerCallContext context)
        {
            return Task.FromResult(new HelloReply { Message = "Hello " + request.Name });
        }
    }
}
